 package com.education.platform.api.service;

 import com.education.platform.common.service.BaseService;
 import com.education.platform.dao.entity.ArticleDO;
 import com.education.platform.dao.entity.RelUserPaperDO;

 /**
* describe: 用户试卷 关联表
* @author : 
* @date: 2020-07-15 08:43:12.033
**/
public interface RelUserPaperService  extends BaseService<RelUserPaperDO> {


     /**
      * 判断是否已经购买过
      * 试卷   课程   文章
      * @param relType
      * @param paperId
      */
      void checkRel(int relType,int paperId);

     /**
      * 文章是权限
      * @param articleDO
      */
     void checkPermission( ArticleDO articleDO);

}
